#pragma once
#include "myhoho\ui\myui.h"
#include "GameMessageBox.h"

class myui_btnOK:public myui_CButton
{
public:
	void OnMouseUp(int x, int y, int botton, int ShiftState = 0);
};

class myui_btnCancel:public myui_CButton
{
public:
	void OnMouseUp(int x, int y, int botton, int ShiftState = 0);
};

class CInputBox:public myui_CallBackForm
{
	myui_btnOK *btnOk;
	myui_btnCancel *btnCancel;
public:
	CInputBox(void);
	~CInputBox(void);
	void Init();
	bool isShow();
	void OnOK(void *p);
	void Show();
	void Hide();
	char * getString();
	int getInt();
};

extern CInputBox inputBox;